
<?php if(!empty($list) && $page == 1){ ?>
<!--form-->
<div class="g-flex g-search-box" style="background: rgb(239, 239, 244);">
	<div class='am-search g-col'>
		<div class="am-search-input">
			<div class="am-search-synthetic-ph" style="width: 100%;">
				<span class="am-search-synthetic-ph-container">
					<i class="am-search-synthetic-ph-icon"></i>
					<span class="am-search-synthetic-ph-placeholder" style="visibility: visible;">订单号/姓名/电话/商品名称</span>
				</span>
			</div>
			<input type="search" class="am-search-value" autocomplete="off" value="{$key}" placeholder="订单号/姓名/电话/商品名称">
			<a class="am-search-clear"></a>
		</div>
		<div class="am-search-cancel" style="margin-right: -80px;">搜索</div>
	</div>
	<span class="iconfont icon-xq- g-fs-40 g-black-light" style="line-height: 88px; margin-left: 14px; padding-right: 30px;"></span>
</div>
<!--/form-->
<?php } ?>


<div class="common-pull-scroll pull-view-wrap scroll-container-0" style="padding-bottom: 50px;">

	<div class="_dropload _pull" style="transform: translateY(0px);">
		<div class="_status">
			<div></div>
		</div>
	</div>
	
	{notempty name='list'}
	<div style="transform: translateY(0px);">
		<div>
			<div>
				{volist name='list' id='v'}
				<a class="g-reset g-flex g-fd-c g-bg-white g-m-b" href="{:url('Order/detail',['id'=>$v.OrderID])}">
					<div>
						<div class="g-flex g-jc-sb g-bb g-pd">
							<div>订单编号：{$v.OrderID}</div>
							<div class="g-blue-middle" style="color: rgb(92, 141, 255);">已关闭</div>
						</div>
					</div>
					<div>
						{volist name='$v.Product' id='y'}
						<div>
							<div class="g-flex g-pd g-bb">
								<img src="{$y.MainImg}" alt="" class="g-img-140">
								<div class="g-flex g-fd-c g-col g-pd-lr g-jc-sb">
									<div class="g-twoline g-fs-30">{$y.ProductName}</div>
									<small class="g-black-light">
										<span></span>
									</small>
									<div class="g-flex g-jc-sb">
										<div class="g-orange-dark">￥{$y.ProductPrice}</div>
										<span class="g-black-middle">x{$y.ProductVol}</span></div>
								</div>
							</div>
						</div>
						{/volist}
					   
						<div class="g-bb g-pd g-flex g-fd-rr">
							<div class="g-orange-dark">总计：￥{$v.Amount}</div>
							<div class="g-col"></div>
						</div>
					</div>
					<div class="common-order-popover">
						<div class="g-row g-pd-tb g-pd-lr">
							<div class="g-flex g-jc-sb g-ai-c">
								<div class="__target" style="width: 10vw; position: relative;">
									<div class="__top">
										<div class="__triangle" style="display: none;"></div>
										<div class="__popover" style="display: none;"></div>
									</div>
								</div>
								<div class="g-row" style="width: 86vw;">
									<div class="g-btn-edit active g-m-r g-fr" data-action="again">再次购买</div>
									<div class="g-btn-edit g-m-r g-fr" data-action="delete">删除订单</div>
								</div>
							</div>
						</div>
					</div>
				</a>
				{/volist}
			</div>
		</div>
	</div>
	<!--
	<div class="_dropload _scroll" style="transform: translateY(0px);">
		<div class="_status">
			<div>
				<span>已全部加载</span>
			</div>
		</div>
	</div>
	-->
	
	{else /}
	<div style="transform: translateY(0px);">
		<div class="g-tc" style="margin-top: 25%;">
			<img src="//oss.nawen1413.com/images/empty_state.png" alt="" class="g-m-b">
		</div>
	</div>

	<div class="_dropload _scroll" style="transform: translateY(0px);">
		<div class="_status">
			<span class="g-fs-26">没有内容可供显示</span>
		</div>
	</div>
	{/notempty}
</div>

